GXPostScriptDoPageTrailer
QuickDraw GX sends theGXPostScriptDoPageTrailer
message to generate the page trailer that is appended to the end of the PostScript program for a page. You can override theGXPostScriptDoPageTrailer
message if you need to add comments to the page trailer. Your override of theGXPostScriptDoPageTrailer
message must match the following formal declaration:
OSErr MyPostScriptDoPageTrailer ( gxPostScriptImageDataHandle hImageData);
hImageData
A handle to the PostScript imaging system structure.- function result
- An error code. The value
noErr
indicates that the operation was successful.DESCRIPTION
QuickDraw GX sends theGXPostScriptDoPageTrailer
message at the end of every page to provide any features requiring control.The default implementation of the
GXPostScriptDoPageTrailer
message sends theGXPostScriptEjectPage
message to eject a page. You can override this message to create a PostScript page trailer.SPECIAL CONSIDERATIONS
You usually forward theGXPostScriptDoPageTrailer
message to allow other message handlers the opportunity to perform page-termination tasks and so that the default implementation can perform its operations.RESULT CODES
The default implementation of the
gxSegmentLoadFailedErr A required code segment could not be found,
or there was not enough memory to load it.gxPrUserAbortErr The user has canceled printing. GXPostScriptDoPageTrailer
message can also return the communications errors that are listed in Table 4-2 on page 4-42.SEE ALSO
The PostScript imaging system structure is described on page 4-26.The
GXPostScriptEjectPage
message is described in the next section.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help